package com.kzd.sdk.entity;

import com.google.gson.Gson;

import java.util.ArrayList;
import java.util.List;

public class KZD_RechargeCoin {

    private int ratio;//比率
    private List<CoinInfo> data = new ArrayList<>();

    public int getRatio() {
        return ratio;
    }

    public void setRatio(int ratio) {
        this.ratio = ratio;
    }

    public List<CoinInfo> getData() {
        return data;
    }

    public void setData(List<CoinInfo> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public static class CoinInfo {

        private String id;//": 1,
        private String money;//": 10,//支付金额
        private String coin;//": 10//赠送平台币

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getCoin() {
            return coin;
        }

        public void setCoin(String coin) {
            this.coin = coin;
        }
    }
}
